package edu.ynu.se.xiecheng.achitectureclass.dao;

import edu.ynu.se.xiecheng.achitectureclass.common.dao.LogicDAO;
import edu.ynu.se.xiecheng.achitectureclass.entity.Customer;
import edu.ynu.se.xiecheng.achitectureclass.entity.Oorder;

import java.util.List;

public interface OorderDao extends LogicDAO<Oorder,Long> {
    public List<Oorder> findAllByPayStatusAndCustomer(Integer payStatus, Customer customer);
}